import 'package:flutter/material.dart';

class MainHome extends StatefulWidget {
  MainHome({Key key, this.title}) : super(key: key);
  final String title;
  @override
  State<StatefulWidget> createState() => MainPage();
}

class MainPage extends State<MainHome> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
        centerTitle: true,
      ),
      body: ListView(
        children: [Text("ejlakjsdf"), Text("ejlakjsdf")],
      ),
    );
  }
}
